package com.linkage.jz.bankruptcy.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 描述：广告信息</br>
 */
public class ZQApplyInfo implements Parcelable {
	
	String projectId = "";
	String creditorRightsId = "";
	String declareAmountPrincipal = ""; //本金
	String declareAmountInterest = ""; //利息
	String declareAmountInterestDetail = ""; //申报金额-利息描述
	String declareAmountOther = ""; //申报金额-其他
	String declareAmountOtherDetail = ""; //申报金额-其他描述
	String declareAmountRegularTax = ""; //申报金额-正税
	String declareAmountOverdueFine = ""; //申报金额-滞纳金


	String declareAmountTotal = ""; //申报金额合计
	String preferredCreditorRights = "false"; //是否有优先债权主张
	String guaranteePriority = ""; //担保优先权金额
	String otherPriority = ""; //其他优先权金额
	String preferredCreditorRightsDetail = ""; //优先债权主张说明
	String creditorRightsNote = ""; //债权描述
	int hasEffectiveJudgment = 3; //有无生效判决
	String hasEffectiveJudgmentJson = ""; //生效判决文件json对象

	int hasApplyExecution = 3; //有无申请执行

	String hasApplyExecutionJson = ""; //申请执行文件json对象
	String executiveDetail = ""; //执行情况说明
	String hasOtherDeclarationFileJson;
	String bank = "";
	String bankBranch = "";
	String bankAccountName = ""; //
	String bankAccount = ""; //
	String creditorId = ""; //type为1时必填
	String type = ""; //0:管理人; 1:债权人

    public ZQApplyInfo() {}


	protected ZQApplyInfo(Parcel in) {
		projectId = in.readString();
		creditorRightsId = in.readString();
		declareAmountPrincipal = in.readString();
		declareAmountInterest = in.readString();
		declareAmountInterestDetail = in.readString();
		declareAmountOther = in.readString();
		declareAmountOtherDetail = in.readString();
		declareAmountRegularTax = in.readString();
		declareAmountOverdueFine = in.readString();
		declareAmountTotal = in.readString();
		preferredCreditorRights = in.readString();
		guaranteePriority = in.readString();
		otherPriority = in.readString();
		preferredCreditorRightsDetail = in.readString();
		creditorRightsNote = in.readString();
		hasEffectiveJudgment = in.readInt();
		hasEffectiveJudgmentJson = in.readString();
		hasApplyExecution = in.readInt();
		hasApplyExecutionJson = in.readString();
		executiveDetail = in.readString();
		hasOtherDeclarationFileJson = in.readString();
		bank = in.readString();
		bankBranch = in.readString();
		bankAccountName = in.readString();
		bankAccount = in.readString();
		creditorId = in.readString();
		type = in.readString();
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(projectId);
		dest.writeString(creditorRightsId);
		dest.writeString(declareAmountPrincipal);
		dest.writeString(declareAmountInterest);
		dest.writeString(declareAmountInterestDetail);
		dest.writeString(declareAmountOther);
		dest.writeString(declareAmountOtherDetail);
		dest.writeString(declareAmountRegularTax);
		dest.writeString(declareAmountOverdueFine);
		dest.writeString(declareAmountTotal);
		dest.writeString(preferredCreditorRights);
		dest.writeString(guaranteePriority);
		dest.writeString(otherPriority);
		dest.writeString(preferredCreditorRightsDetail);
		dest.writeString(creditorRightsNote);
		dest.writeInt(hasEffectiveJudgment);
		dest.writeString(hasEffectiveJudgmentJson);
		dest.writeInt(hasApplyExecution);
		dest.writeString(hasApplyExecutionJson);
		dest.writeString(executiveDetail);
		dest.writeString(hasOtherDeclarationFileJson);
		dest.writeString(bank);
		dest.writeString(bankBranch);
		dest.writeString(bankAccountName);
		dest.writeString(bankAccount);
		dest.writeString(creditorId);
		dest.writeString(type);
	}

	@Override
	public int describeContents() {
		return 0;
	}

	public static final Creator<ZQApplyInfo> CREATOR = new Creator<ZQApplyInfo>() {
		@Override
		public ZQApplyInfo createFromParcel(Parcel in) {
			return new ZQApplyInfo(in);
		}

		@Override
		public ZQApplyInfo[] newArray(int size) {
			return new ZQApplyInfo[size];
		}
	};

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getCreditorRightsId() {
		return creditorRightsId;
	}

	public void setCreditorRightsId(String creditorRightsId) {
		this.creditorRightsId = creditorRightsId;
	}

	public String getDeclareAmountPrincipal() {
		return declareAmountPrincipal;
	}

	public void setDeclareAmountPrincipal(String declareAmountPrincipal) {
		this.declareAmountPrincipal = declareAmountPrincipal;
	}

	public String getDeclareAmountInterest() {
		return declareAmountInterest;
	}

	public void setDeclareAmountInterest(String declareAmountInterest) {
		this.declareAmountInterest = declareAmountInterest;
	}

	public String getDeclareAmountInterestDetail() {
		return declareAmountInterestDetail;
	}

	public void setDeclareAmountInterestDetail(String declareAmountInterestDetail) {
		this.declareAmountInterestDetail = declareAmountInterestDetail;
	}

	public String getDeclareAmountOther() {
		return declareAmountOther;
	}

	public void setDeclareAmountOther(String declareAmountOther) {
		this.declareAmountOther = declareAmountOther;
	}

	public String getDeclareAmountOtherDetail() {
		return declareAmountOtherDetail;
	}

	public void setDeclareAmountOtherDetail(String declareAmountOtherDetail) {
		this.declareAmountOtherDetail = declareAmountOtherDetail;
	}

	public String getDeclareAmountRegularTax() {
		return declareAmountRegularTax;
	}

	public void setDeclareAmountRegularTax(String declareAmountRegularTax) {
		this.declareAmountRegularTax = declareAmountRegularTax;
	}

	public String getDeclareAmountOverdueFine() {
		return declareAmountOverdueFine;
	}

	public void setDeclareAmountOverdueFine(String declareAmountOverdueFine) {
		this.declareAmountOverdueFine = declareAmountOverdueFine;
	}

	public String getDeclareAmountTotal() {
		return declareAmountTotal;
	}

	public void setDeclareAmountTotal(String declareAmountTotal) {
		this.declareAmountTotal = declareAmountTotal;
	}

	public String getPreferredCreditorRights() {
		return preferredCreditorRights;
	}

	public void setPreferredCreditorRights(String preferredCreditorRights) {
		this.preferredCreditorRights = preferredCreditorRights;
	}

	public String getGuaranteePriority() {
		return guaranteePriority;
	}

	public void setGuaranteePriority(String guaranteePriority) {
		this.guaranteePriority = guaranteePriority;
	}

	public String getOtherPriority() {
		return otherPriority;
	}

	public void setOtherPriority(String otherPriority) {
		this.otherPriority = otherPriority;
	}

	public String getPreferredCreditorRightsDetail() {
		return preferredCreditorRightsDetail;
	}

	public void setPreferredCreditorRightsDetail(String preferredCreditorRightsDetail) {
		this.preferredCreditorRightsDetail = preferredCreditorRightsDetail;
	}

	public String getCreditorRightsNote() {
		return creditorRightsNote;
	}

	public void setCreditorRightsNote(String creditorRightsNote) {
		this.creditorRightsNote = creditorRightsNote;
	}

	public int getHasEffectiveJudgment() {
		return hasEffectiveJudgment;
	}

	public void setHasEffectiveJudgment(int hasEffectiveJudgment) {
		this.hasEffectiveJudgment = hasEffectiveJudgment;
	}

	public String getHasEffectiveJudgmentJson() {
		return hasEffectiveJudgmentJson;
	}

	public void setHasEffectiveJudgmentJson(String hasEffectiveJudgmentJson) {
		this.hasEffectiveJudgmentJson = hasEffectiveJudgmentJson;
	}

	public int getHasApplyExecution() {
		return hasApplyExecution;
	}

	public void setHasApplyExecution(int hasApplyExecution) {
		this.hasApplyExecution = hasApplyExecution;
	}

	public String getHasApplyExecutionJson() {
		return hasApplyExecutionJson;
	}

	public void setHasApplyExecutionJson(String hasApplyExecutionJson) {
		this.hasApplyExecutionJson = hasApplyExecutionJson;
	}

	public String getExecutiveDetail() {
		return executiveDetail;
	}

	public void setExecutiveDetail(String executiveDetail) {
		this.executiveDetail = executiveDetail;
	}

	public String getHasOtherDeclarationFileJson() {
		return hasOtherDeclarationFileJson;
	}

	public void setHasOtherDeclarationFileJson(String hasOtherDeclarationFileJson) {
		this.hasOtherDeclarationFileJson = hasOtherDeclarationFileJson;
	}

	public String getBank() {
		return bank;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public String getBankBranch() {
		return bankBranch;
	}

	public void setBankBranch(String bankBranch) {
		this.bankBranch = bankBranch;
	}

	public String getBankAccountName() {
		return bankAccountName;
	}

	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	public String getBankAccount() {
		return bankAccount;
	}

	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}

	public String getCreditorId() {
		return creditorId;
	}

	public void setCreditorId(String creditorId) {
		this.creditorId = creditorId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
